

<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <title>layuiAdmin 内容系统 - 文章列表</title>
  <meta name="renderer" content="webkit">
  <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0">
  <link rel="stylesheet" href="../layuiadmin/layui/css/layui.css" media="all">
  <link rel="stylesheet" href="../layuiadmin/style/admin.css" media="all">
</head>
<body>

  <div class="layui-fluid">
    <div class="layui-card">
      <div class="layui-form layui-card-header layuiadmin-card-header-auto">
        <div class="layui-form-item">
          <div class="layui-inline">
            <label class="layui-form-label">上传者</label>
            <div class="layui-input-inline">
              <input type="text" name="author" placeholder="请输入" autocomplete="off" class="layui-input">
            </div>
          </div>
          <div class="layui-inline">
            <label class="layui-form-label">标题</label>
            <div class="layui-input-inline">
              <input type="text" name="title" placeholder="请输入" autocomplete="off" class="layui-input">
            </div>
          </div>
          <div class="layui-inline">
            <button class="layui-btn layuiadmin-btn-list" lay-submit lay-filter="LAY-app-contlist-search">
              <i class="layui-icon layui-icon-search layuiadmin-button-btn"></i>
            </button>
          </div>
        </div>
      </div>

      <div class="layui-card-body">
        <div style="padding-bottom: 10px;">
          <button class="layui-btn layuiadmin-btn-list" data-type="batchdel">删除</button>
          <a class="layui-btn layuiadmin-btn-list" lay-href="attachment/upload.html">添加</a>
        </div>
        <table id="LAY-app-content-list" lay-filter="LAY-app-content-list" class="layui-table">
			<thead>
				<tr>
				  <th type="checkbox"></th>
				  <th lay-data="{field:'id', sort: true}">ID</th>
				  <th lay-data="{field:'title'}">标题</th>
				  <th lay-data="{field:'label'}">上传者</th>
				  <th lay-data="{field:'category'}">描述</th>
				  <th lay-data="{field:'author'}">后缀名</th>
				  <th lay-data="{field:'uploadtime', sort: true}">类型</th>
				  <th lay-data="{field:'status', sort: true}">上传时间</th>
				  <th>操作</th>
				</tr>
			  </thead>
			  
        </table> 
        <script type="text/html" id="table-content-list">
          <a class="layui-btn layui-btn-normal layui-btn-xs" lay-event="edit"><i class="layui-icon layui-icon-edit"></i>编辑</a>
          <a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="del"><i class="layui-icon layui-icon-delete"></i>删除</a>
        </script>

      </div>
    </div>
  </div>

  <script src="../layuiadmin/layui/layui.js"></script>  
		  <script>
		  layui.config({
			base: 'layuiadmin/' //静态资源所在路径
		  }).extend({
			index: 'lib/index' //主入口模块
		  }).use('index');
		  </script>
</body>
</html>
